package com.example.easybuy.service;

import com.example.easybuy.pojo.Products;
import com.example.easybuy.pojo.ShoppingCar;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ShoppingCarService {

    public String addShoppingCar(String gid, String uid, String proNum);

    public List<Products> shoppingCarUserById(String uid);

    /**
     * 根据用户id、根据购物车的商品id
     * 查 当前用户下一个购物车的数量
     */
    public int proNum(String productsId, String uid);

}
